package com.example.mybatisdemo.remoteapi;

import com.example.mybatisdemo.remoteapi.fallback.ThirdPartApiFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "ThirdPartService",url = "http://172.22.168.84",fallbackFactory = ThirdPartApiFallback.class)
public interface ThirdPartApi {

    @GetMapping("/linkage/total-record/dispose-progress")
    String getProgress(@RequestParam("workOrderNo") String workOrderNo);


}
